<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>新增员工</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript" src="js/calendar.js"></script>
  </head>
  
  <body>
  	<form action="newEmpAction" method="post">
  	<a href="empDetail.jsp">返回</a>
	<table id="newemp" title="新增员工表格" >
		<tr>
			<td align="right">登陆ID：</td>
			<td align="left"><input type="text" name="uid"/></td>
			<td>至少输入2位</td>
		</tr>
		<tr>
			<td align="right">密码：</td>
			<td align="left"><input type="password" name="upass" /></td>
			<td>至少输入4位</td>
		</tr>
		<tr>
			<td align="right">所属部门：</td>
			<td>
				<select name="dept">
					<option value="dept"></option>
					<option value="dept">研发部</option>
					<option value="dept">技术部</option>
					<option value="dept">销售部</option>
				</select>
			</td>
			<td>请选择</td>
		</tr>
		<tr>
			<td align="right">姓名：</td>
			<td align="left"><input type="text" /></td>
			<td></td>
		</tr>
		<tr>
			<td align="right">电话：</td>
			<td align="left"><input type="text" /></td>
			<td>电话位11位</td>
		</tr>
		<tr>
			<td align="right">邮箱：</td>
			<td align="left"><input type="text" /></td>
			<td>邮箱格式不正确</td>
		</tr>
		<tr>
			<td align="right">性别：</td>
			<td align="left">
				<input type="radio" name="sex" />男
				<input type="radio" name="sex" />女
			</td>
			<td>请选择性别</td>
		</tr>
		<tr>
			<td>
				&nbsp;&nbsp;&nbsp;&nbsp;出生年月 ：
			</td>
			<td>
				<input type="text" name="birthday" value="" id="birthday" class="inputgri">&nbsp;&nbsp;
				<font color="red" size="2">*</font>
				<img src="images/calendar.gif" alt="日历" onclick="new Calendar().show(birthday);" />
				
			</td>
			<td>请选择日期</td>
		</tr>
		<tr>
			<td align="right">备注：</td>
			<td>
				<textarea rows="4" cols="30"></textarea>
			</td>
			<td>请输入备注</td>
		</tr>
		<tr>
			<td align="right"><input type="button" name="submit" value="提交"/></td>
			<td align="left"><input type="reset" name="reset" value="重置"/>
			<input type="reset" name="button" onclick="window.history.go(-1);" value="返回"/></td>
		</tr>
	</table>
	</form>
  </body>
</html>
